-- GENERATED SPELL FOR [Netherhound] --


function spell0_16950(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(11981,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16950', 3000, 1)
end

function Sorts_16950(pUnit, Event)
local choix_sorts_16950 = math.random(0, 0)
if choix_sorts_16950 == 0 then
pUnit:RegisterEvent('spell0_16950', 1, 1)
end
end

function mob16950_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16950', math.random(1500, 3000), 1)
end

function mob16950_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16950_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16950_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16950, 1, 'mob16950_Action')
RegisterUnitEvent(16950, 2, 'mob16950_Leave')
RegisterUnitEvent(16950, 3, 'mob16950_Kill')
RegisterUnitEvent(16950, 4, 'mob16950_Die')
